package com.financial.service.integralpay.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UrlConstants {
    //积分支付
    public static String INTEGRAL_EPAY_URL;
    //积分退款
    public static String INTEGRAL_REFUND_URL;
    //积分支付异步通知优店
    public static String INTEGRAL_ASYN_URL;
    //积分主动查询
    public static String INTEGRAL_QUERY_URL;
    public String getIntegralEpayUrl() {
        return INTEGRAL_EPAY_URL;
    }

    public String getIntegralRefundUrl() {
        return INTEGRAL_REFUND_URL;
    }

    public  String getIntegralQueryUrl() {
        return INTEGRAL_QUERY_URL;
    }
    @Value("${url.integral_query_url}")
    public  void setIntegralQueryUrl(String integralQueryUrl) {
        INTEGRAL_QUERY_URL = integralQueryUrl;
    }

    @Value("${url.integral_refund_url}")
    public void setIntegralRefundUrl(String integralRefundUrl) {
        INTEGRAL_REFUND_URL = integralRefundUrl;
    }

    @Value("${url.integral_epay_url}")
    public void setIntegralEpayUrl(String integralEpayUrl) {

        INTEGRAL_EPAY_URL = integralEpayUrl;
    }


    public  String getIntegralAsynUrl() {
        return INTEGRAL_ASYN_URL;
    }
    @Value("${url.integral_asyn_url}")
    public  void setIntegralAsynUrl(String integralAsynUrl) {
        INTEGRAL_ASYN_URL = integralAsynUrl;
    }



}